package com.xianggu.spring.aop.enums;

/**
 * 切入点枚举
 * @author chengjy
 * @date 2025/3/10
 */
public enum PointcutEnum {
    /**
     * 通配符
     */
    EXECUTION("execution"),
    /**
     * 标识方法的注解全限定路径
     */
    ANNOTATION("annotation"),
    /**
     * 匹配指定类的注解全限定路径
     */
    WITHIN("within");

    private String path;

    PointcutEnum(String path) {
        this.path = path;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
